#ifndef  __ES_UART_UTILS_H__
#define  __ES_UART_UTILS_H__

#include "es_def.h"

typedef enum
{
  UART_REC_NONE = 0,
  UART_REC_OVER,

}eUartRecFlag;

typedef ES_VOLATILE struct
{
	ES_U8       	*RecBuff;                     /**< Save the data received by the serial port */
	ES_U32      	Rec_Length;                   /**< Length of data received by the serial port */
	eUartRecFlag  	Rec_Flag;                     /**< Serial data reception completion flag bit */

}Uart_RecHandle_t;

#endif   /* __ES_UART_UTILS_H__ */
